* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-size: 14px;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

//滚动条------------------------------------------------------------------
.scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: rgba(0, 0, 0, 0);
}
/*定义滚动条的轨道，内阴影及圆角*/
.scrollbar::-webkit-scrollbar-track {
  /*-webkit-box-shadow: inset 10px 10px 6px rgba(0,0,0,0);*/
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0);
}
/*定义滑块，内阴影及圆角*/
.scrollbar::-webkit-scrollbar-thumb {
  width: 10px;
  height: 20px;
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  background-color: rgba(255, 255, 255, 0);
}
.scrollbar:hover::-webkit-scrollbar-thumb {
  /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);*/
  background-color: rgba(0, 0, 0, 0.1);
}

//消除数字输入框上下箭头-----------------------------------------------------
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="number"] {
  -moz-appearance: textfield;
}

//设置一些element-plus样式
.el-form {
  width: 100%;
}

//页面自定义样式
.main,
.scroll-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 15px;
  width: calc(100% + 8px);
  overflow: hidden;
  > .content {
    background-color: #fff;
    border-radius: 6px;
    padding: 15px;
    width: 100%;
    & + .content {
      margin-top: 20px;
    }
  }
}

.scroll-main {
  height: auto;
}

.es1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.es2 {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn {
  &:hover {
    opacity: 0.7;
  }
}
